<%-- 
    Document   : index
    Created on : 2011-9-27, 11:36:40
    Author     : EnzoZhong
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
     <head>
          <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
          <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.js"></script> 
          <script src="js/upload/ajaxfileupload.js"></script>
          <script>
            
               function ajaxFileUpload() {
                    $.ajaxFileUpload({
                         url : "tool/send",
                         secureuri: false,
                         fileElementId: "file",
                         dataType: "json"
                    });
                    return false;
               }
          </script>
          <title>JSP Page</title>
     </head>
     <body>
          <input type="file" id="file" name="file" />
          <input type="button" value="上传" onclick="ajaxFileUpload();">
     </body>
</html>
